package patterns.adapter.type.main;

import patterns.adapter.type.core.Adapter;
import patterns.adapter.type.core.Targetable;
/**
 * 类的适配器
 * @author ran
 *
 */
public class Test {
	public static void main(String[] args) {
		Targetable targetable = new Adapter();
		targetable.method1();
		targetable.method2();
	}
}
